using UnityEngine;
using Unity.Entities;

public class PathAgentAuthoring : MonoBehaviour
{
    public int PathID;
    public float Speed;
}

class PathAgentBaker : Baker<PathAgentAuthoring> 
{
    public override void Bake(PathAgentAuthoring authoring)
    {
        AddComponent(new PathAgent()
        { 
            PathID = authoring.PathID,
            Speed = authoring.Speed,
        });
    }
}
